home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / D / DataChef v1.2.cpt / DataChef v1.2 / background_6079.xml < prev    next >
Encoding:
Extensible Markup Language  |  1992-10-24  |  5.7 KB  |  147 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>6079</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_6480.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3092.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <true /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <false /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <true /> </lockText>
  21.         <rect>
  22.             <left>40</left>
  23.             <top>113</top>
  24.             <right>468</right>
  25.             <bottom>294</bottom>
  26.         </rect>
  27.         <style>scrolling</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>left</textAlign>
  36.         <font>Geneva</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>bold</textStyle>
  39.         <textHeight>16</textHeight>
  40.         <name>Table of Contents</name>
  41.         <script>on mouseUpglobal newRecipeif the value of the clickLine is not empty thenselect the clickLineput the value of the clickLine into thisChapterglobal buttonName--set return button to TOC for new recipe card per TLBput "Table of Contents" into buttonName--set return button to TOC for new recipe card per TLBask "Enter the new recipe:"if it is empty thenlock screengo cd "Table of Contents"exit mouseUpend ifif number of chars of it > 31 thenanswer "No more than 31 characters permitted!"lock screengo cd "Table of Contents"exit mouseUpend ifif first char of it is a number thenanswer "First character must be a letter!"lock screengo cd "Table of Contents"exit mouseUpend ifput it into newReciperepeat with x = 1 to number of lines of bg fld "Recipes List" ¬¨of cd thisChapterif line x of bg fld "Recipes List" of cd thisChapter is ¬¨newRecipe thenanswer "This recipe already exists!"lock screengo cd "Table of Contents"exit mouseUpend ifend repeatset cursor to watchif bg fld "Recipes List" of cd thisChapter is empty thenput newRecipe into bg fld "Recipes List" of cd thisChaptercreateNewRecipeCardexit mouseUpend ifif bg fld "Recipes List" of cd thisChapter is not empty thenrepeatif last char of bg fld "Recipes List" of cd thisChapter is ¬¨return then delete last char of bg fld "Recipes List" ¬¨of cd thisChapterif last char of bg fld "Recipes List" of cd thisChapter is ¬¨not return then exit repeatend repeatput return & newRecipe after bg fld "Recipes List" of cd ¬¨thisChaptercreateNewRecipeCardend ifend ifend mouseUpon createNewRecipeCardglobal newRecipelock screengo cd "Recipe Template"doMenu "New Card"set the name of this cd to newRecipeput newRecipe into bg fld "Recipe"unlockTextFields--per TLBunlock screenselect after last char of bg fld "Ingredients"end createNewRecipeCard</script>
  42.     </part>
  43.     <part>
  44.         <id>2</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <true /> </dontSearch>
  49.         <sharedText> <true /> </sharedText>
  50.         <fixedLineHeight> <false /> </fixedLineHeight>
  51.         <autoTab> <false /> </autoTab>
  52.         <lockText> <false /> </lockText>
  53.         <rect>
  54.             <left>188</left>
  55.             <top>79</top>
  56.             <right>314</right>
  57.             <bottom>96</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <false /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>center</textAlign>
  68.         <font>Geneva</font>
  69.         <textSize>9</textSize>
  70.         <textStyle>outline</textStyle>
  71.         <textStyle>bold</textStyle>
  72.         <textHeight>12</textHeight>
  73.         <name></name>
  74.         <script></script>
  75.     </part>
  76.     <part>
  77.         <id>3</id>
  78.         <type>field</type>
  79.         <visible> <true /> </visible>
  80.         <dontWrap> <false /> </dontWrap>
  81.         <dontSearch> <true /> </dontSearch>
  82.         <sharedText> <false /> </sharedText>
  83.         <fixedLineHeight> <false /> </fixedLineHeight>
  84.         <autoTab> <false /> </autoTab>
  85.         <lockText> <true /> </lockText>
  86.         <rect>
  87.             <left>40</left>
  88.             <top>19</top>
  89.             <right>468</right>
  90.             <bottom>78</bottom>
  91.         </rect>
  92.         <style>rectangle</style>
  93.         <autoSelect> <false /> </autoSelect>
  94.         <showLines> <false /> </showLines>
  95.         <wideMargins> <false /> </wideMargins>
  96.         <multipleLines> <false /> </multipleLines>
  97.         <reservedFamily> 0 </reservedFamily>
  98.         <titleWidth>0</titleWidth>
  99.         <icon>0</icon>
  100.         <textAlign>center</textAlign>
  101.         <font>Geneva</font>
  102.         <textSize>20</textSize>
  103.         <textStyle>bold</textStyle>
  104.         <textHeight>26</textHeight>
  105.         <name>Book Title</name>
  106.         <script></script>
  107.     </part>
  108.     <part>
  109.         <id>4</id>
  110.         <type>button</type>
  111.         <visible> <true /> </visible>
  112.         <reserved5> 0 </reserved5>
  113.         <reserved4> 0 </reserved4>
  114.         <reserved3> 0 </reserved3>
  115.         <reserved2> 0 </reserved2>
  116.         <reserved1> 0 </reserved1>
  117.         <enabled> <true /> </enabled>
  118.         <rect>
  119.             <left>390</left>
  120.             <top>309</top>
  121.             <right>468</right>
  122.             <bottom>331</bottom>
  123.         </rect>
  124.         <style>rectangle</style>
  125.         <showName> <true /> </showName>
  126.         <highlight> <false /> </highlight>
  127.         <autoHighlight> <true /> </autoHighlight>
  128.         <sharedHighlight> <true /> </sharedHighlight>
  129.         <family>0</family>
  130.         <titleWidth>0</titleWidth>
  131.         <icon>0</icon>
  132.         <textAlign>center</textAlign>
  133.         <font>Chicago</font>
  134.         <textSize>12</textSize>
  135.         <textStyle>plain</textStyle>
  136.         <name>Abort!</name>
  137.         <script>on mouseUplock screengo cd "Table of Contents"end mouseUp</script>
  138.     </part>
  139.     <content>
  140.         <layer>background</layer>
  141.         <id>2</id>
  142.         <text>Table of Contents</text>
  143.     </content>
  144.     <name></name>
  145.     <script></script>
  146. </background>
  147.